﻿using System.Collections.Generic;
using Terraria;
using Terraria.DataStructures;
using WorseGame.Common.Cores.Custom.Interfaces;
using WorseGame.Common.Cores.Custom.Structs;

namespace WorseGame.Common.Cores.CustomCatchRules.Pools
{
 
    public class TrashCatchPool : ICatchPool {
        public List<CatchWeight> PotentialCatches {
            get;
            set;
        }

        public uint Priority => 0;

        public bool CompleteOverride => false;

        public bool IsPoolActive(FishingAttempt attempt, Projectile bobber) => Main.rand.Next(50) > attempt.fishingLevel && attempt.waterTilesCount < attempt.waterNeededToFish;
    }
}